package com.tanhua.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum RangeEnum implements IEnum<Integer> {

    LOGIN(1,"冻结登录"),
    SPEAK(2,"冻结发言"),
    DYNAMIC(3,"冻结发布动态");



    private int value;
    private String desc;

    RangeEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }
}
